cmake_minimum_required(VERSION 3.4.1)

project(ruby)      

add_definitions(-DRUBY_EXPORT -DOS_ANDROID)

set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-uninitialized -Wno-missing-field-initializers -Wno-shadow -Wno-format-security")

set(SOURCE_LIB
<%= @sourceList %>
)

include_directories(<%= @rhoRoot %>/platform/shared/ruby/include)
include_directories(<%= @rhoRoot %>/platform/shared/ruby/android)
include_directories(<%= @rhoRoot %>/platform/shared/ruby/generated)
include_directories(<%= @rhoRoot %>/platform/shared/ruby)
include_directories(<%= @rhoRoot %>/platform/shared)
include_directories(<%= @rhoRoot %>/platform/shared/sqlite)

add_library(ruby STATIC ${SOURCE_LIB})

